<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<%@ taglib uri="http://richfaces.ajax4jsf.org/rich" prefix="rich" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<html>
<head>

<title>Login Page</title>
</head>
<body>
<f:view>
<center>
<rich:message id="loginError" for="loginError" style="color:red"/>
<h:form>
<rich:panel header="User Login" style="background-color:#ebf3fd:">

<h:panelGrid id="Ipg" columns="3" border="0">
<h:outputText value="Username"/>
<rich:inplaceInput id="userName" value="#{loginBean.userName}" required="true"
defaultLabel="click to enter User Name"/>
<rich:message for="userName"/>


<h:outputText value="Password"/>
<rich:inplaceInput id="password" value="#{loginBean.password}" required="true"
defaultLabel="click to enter password" showControls="true"/>
<rich:message for="password"/>

<h:outputText value=""/>

<h:commandButton value="Login" action="#{loginBean.verifyUserAccount}"/>




</h:panelGrid>
</rich:panel>
</h:form>
</center>
</f:view>

</body>
</html>